<template>
   <div id="home">
    <!-- header内容  -->
    <Navbar ></Navbar>
    <div id="contentList">
      <keep-alive>
        <router-view></router-view>
      </keep-alive>
    </div>
   </div>
</template>
<script>
import Navbar from "./navbar";
export default {
  components: {
    Navbar
  }
};
</script>
<style lang="scss" scoped>
#home {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 50px;
  background: #eeeeee;
  #contentList {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 100px;
  }
}
</style>


